﻿using Sustainalytics.Entities;
using System;

namespace Sustainalytics.ClientDW.Entities.Universes
{
    public class Universe : IEntity<int>, IAccountRelatedEntity
    {
        public Universe()
        {
            this.Created = DateTime.UtcNow;
            this.LastUpdated = DateTime.UtcNow;
        }

        public int Id { get; set; }
        public Guid AccountId { get; set; }
        public string Name { get; set; }
        public DateTime Created { get; set; }
        public DateTime LastUpdated { get; set; }

        public override string ToString()
        {
            return string.Format("Id: {0}, AccountId: {1}, Name: {2}", Id, AccountId, Name);
        }
    }
}
